package com.oa.system.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.oa.model.system.SysRole;
import com.oa.vo.system.AssginRoleVo;

import java.util.Map;

/**
 * @author Admin
 * @title: SysRoleService
 * @projectName Cloud_OA_Office
 * @description: SysRoleService
 * @date 2024/10/1 15:59
 */
public interface SysRoleService extends IService<SysRole> {
    /**
     * 根据用户id查询角色数据
     * @param userId
     * @return
     */
    Map<String, Object> findRoleByAdminId(Long userId);

    void doAssign(AssginRoleVo assginRoleVo);
}
